const express = require('express')

const ech = express.Router()

// 服务站接诊病人信息

ech.get('/num', (req, res) => {
    const data = [
        {
            id: 1,
            address: "剑河县",
            pri: 9,
        },
        {
            id: 2,
            address: "花溪区",
            pri: 39,
        },
        {
            id: 3,
            address: "大稿午",
            pri: 17,
        },
        {
            id: 4,
            address: "凯里十字街",
            pri: 49,
        },
        {
            id: 5,
            address: "黎平县",
            pri: 40,
        },
        {
            id: 6,
            address: "镇远县",
            pri: 10,
        },
        {
            id: 7,
            address: "天柱县",
            pri: 20,
        },
        {
            id: 8,
            address: "花溪大学城",
            pri: 22,
        },
        {
            id: 9,
            address: "柳川镇中心",
            pri: 22,
        },
        {
            id: 10,
            address: "榕江县",
            pri: 89,
        },
        {
            id: 11,
            address: "黄平县",
            pri: 24,
        },
    ]
    res.send({
        code: 200,
        data: {
            list: data,
        },
        message: '获取信息成功'
    })
})

module.exports = ech